package org.example.service;

import org.example.entity.CategoryEntity;
import org.example.exception.UserException;

import java.util.List;

/**
 * @author HanJiafeng
 */
public interface ICategoryService {
    /**
     * 分类列表
     *
     * @return 列表
     * @throws UserException UserException
     */
    List<CategoryEntity> list() throws UserException;
}
